/* 全局样式初始化 */
*{
    margin: 0;
    padding: 0;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
    height: 100vh;
    line-height: 1.6;
    overflow: hidden;
}
.container{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
.navbar{
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 60px;
    background:rgba(0,0,0,0.7);
}
.navbar ul{
    display: flex;
    justify-content: center;
    width: 100%;
    list-style: none;
}
.navbar ul li{
    margin: 0 1rem;
    padding: 1rem;
}
.navbar ul a{
    text-decoration: none;
    color: #f4f4f4;
}
.navbar ul a:hover{
    color: #ff44dd;
}
section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    /* scroll-snap */
    scroll-snap-align: center;
}
section h1{
    font-size: 4rem;
}
section p{
    font-size: 1.5rem;
}
section#home{
    background: url(http://pic2.sc.chinaz.com/files/pic/pic9/201903/hpic772.jpg) no-repeat center center/cover;
}
section#about{
    background: url(http://pic.sc.chinaz.com/files/pic/pic9/201807/bpic7554.jpg) no-repeat center center/cover;
}
section#service{
    background: url(http://pic1.sc.chinaz.com/files/pic/pic9/201903/bpic11008.jpg) no-repeat center center/cover;
}
section#contact{
    background: url(http://pic.sc.chinaz.com/files/pic/pic9/201808/zzpic13764.jpg) no-repeat center center/cover;
}